<?php
class site_dao_staff extends ss_dao_staff{
	/*
	public function master(){
		return array('name'=>$this->name(),'slug'=>$this->slug(),'entries'=>$this->entrysluglist(),'$ref'=>'/entry/'.$this->slug());
	}
	*/
	
	public function detail(){
		$result=$this->getData();
	}
	/*
	public function master(){
		if(is_null($this->entrysluglist)) return array();
		$entries=explode(',',$this->entrysluglist);
		foreach(array('idstaff') as $slug){
			$result[$slug]=array('$ref'=>'/entry/'.$slug);
		}
		return $result;
	}
	*/
}

class site_dao_staff_mapper extends ss_dao_staff_mapper{
	protected $table='staff';
	protected $primary='idstaff';
}
?>